package com.zhongyouyun.jyj.service;

import com.zhongyouyun.jyj.model.ReportModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.jyj.pojo.ReportPojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2023-11-17
 * @Description: 教育局举报内容服务类
 */

public interface ReportService extends IService<ReportModel> {

    IPage<ReportModel> selectPage(Page<ReportModel> userPage, QueryWrapper<ReportModel> queryWrapper);

    List<ReportModel> selectList(QueryWrapper<ReportModel> queryWrapper);

    IPage<ReportPojo> selectPojoPage(Page page, QueryWrapper queryWrapper);

    boolean saveOrUpdate(ReportModel reportModel,List<String> urls);
}
